package com.yaoxun.bored.model.sys.user;

import java.util.List;

import com.yaoxun.bored.model.sys.role.SessionRole;

public class SessionUser {

	private Integer userId;
	
	private String account;
	
	private String pwd;
	
	private List<SessionRole> sessionRoles;
	
	public SessionUser() {
		super();
	}

	public SessionUser(Integer userId, String account) {
		super();
		this.userId = userId;
		this.account = account;
	}



	public SessionUser(Integer userId, String account, String pwd) {
		super();
		this.userId = userId;
		this.account = account;
		this.pwd = pwd;
	}

	public SessionUser(Integer userId, String account, String pwd, List<SessionRole> sessionRoles) {
		super();
		this.userId = userId;
		this.account = account;
		this.pwd = pwd;
		this.sessionRoles = sessionRoles;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getPwd() {
		return pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

	public List<SessionRole> getSessionRoles() {
		return sessionRoles;
	}

	public void setSessionRoles(List<SessionRole> sessionRoles) {
		this.sessionRoles = sessionRoles;
	}

	@Override
	public String toString() {
		return "SessionUser [userId=" + userId + ", account=" + account + ", pwd=" + pwd + ", sessionRoles="
				+ sessionRoles + "]";
	}
}
